package com.hst.capacity.domain.model.entity.setting.airport;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "bse_airport")//机场信息
public class AirportEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idAirport;
  private String cityCode;
  private String cityName;
  private String name;
  private String intro;
  private String iata;
  private String icao;
  private String address;
  private String location;
  private Double lng;
  private Double lat;
  private String hotAirport;

}
